﻿using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using ZHDJ.Data.Models.Org;

namespace ZHDJ.Data.Models.Box
{
    public class Role : IKeyID
    {
        [Key]
        public string ID { get; set; }

        [Required, StringLength(50)]
        public string Name { get; set; }

        [StringLength(500)]
        public string Remark { get; set; }


        public virtual ICollection<PartyOrgMember> Users { get; set; }


        public virtual ICollection<Power> Powers { get; set; }
        
    }
}